<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>

</head>
<body>
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="editModalLabel">新增</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id = "dictItemEdit">
                		<input type="hidden" name="sysDictItemEntity.itemId" id="itemId" value="${param.itemId }" />
						<input type="hidden" name="sysDictEntity.dictId" id="dictId" value="" >
                            <fieldset class="plan-left-info-fieldset">
                                <legend><span>字典元素</span></legend>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="required">*</span>编码</label>
                                    <div class="col-sm-10">
                                    <input type="text" maxlength="64" class="form-control" id="code" name="sysDictItem.itemCode"
                                           placeholder="请输入编码" data-easyform="length:1 64;char-chinese;"
                                           data-message="请输入元素编码" require="true">
                                    </div>
                                </div >
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="required">*</span>名称</label>
                                    <div class="col-sm-10">
                                    <input type="text" maxlength="64" class="form-control" id="name" name="sysDictItem.itemName"
                                           placeholder="请输入名称" data-easyform="length:1 64;char-chinese;"
                                           data-message="请输入元素名称" require="true">
                                    </div>
                                </div >
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="required">*</span>值</label>
                                    <div class="col-sm-10">
                                    <input type="text" maxlength="128" class="form-control" id="value" name="sysDictItem.itemValue"
                                           placeholder="请输入描述" data-easyform="length:1 128;char-chinese;"
                                           data-message="请输入元素描述信息" require="true">
                                    </div>
                                </div >
                                 <div class="form-group" id="reido_html">	 
                               </div>
                        </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal" >取消</button>
                <button type="button" class="btn btn-primary" id="saveDictItem" onclick="saveDictItem();">保存</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>
